```typescript index.ts
// Initiate redirect-based Checkout
const initiateRedirectCheckoutResponse = peachPayments.checkoutGeneration.initiateRedirectCheckout({
    referer: "https://mydemostore.com"
    authentication.entityId: "8ac7a4ca68c22c4d0168c2caab2e0025"
    signature: "a668342244a9c77b08a2f9090d033d6e2610b431a5c0ca975f32035ed06164f4"
    merchantTransactionId: "OrderNo453432"
    amount: 1010.22
    paymentType: "DB"
    currency: "ZAR"
    nonce: "UNQ00012345678"
    shopperResultUrl: "https://mydemostore.com/OrderNo453432"
    defaultPaymentMethod: "CARD"
    forceDefaultMethod: "false"
    merchantInvoiceId: "INV-0001"
    cancelUrl: "https://mydemostore.com/OrderNo453432/cancelled"
    notificationUrl: "https://mydemostore.com/OrderNo453432/webhook"
    customParameters[name]: "name: Name1 value: Value1"
    customer.merchantCustomerId: 971020
    customer.givenName: "John"
    customer.surname: "Smith"
    customer.mobile: 27123456789
    customer.email: "johnsmith@mail.com"
    customer.status: "EXISTING"
    customer.birthDate: "1970-02-17"
    customer.ip: "192.168.1.1"
    customer.phone: 27123456789
    customer.idNumber: 9001010000084
    billing.street1: "1 Example Road"
    billing.street2: "LocalityA"
    billing.city: "Cape Town"
    billing.company: "CompanyA"
    billing.country: "ZA"
    billing.state: "Western Cape"
    billing.postcode: 1234
    shipping.street1: "1 Example Road"
    shipping.street2: "LocalityA"
    shipping.city: "Cape Town"
    shipping.company: "CompanyA"
    shipping.postcode: 1234
    shipping.country: "ZA"
    shipping.state: "Western Cape"
    cart.tax: "15.00"
    cart.shippingAmount: "12.25"
    cart.discount: "02.25"
    createRegistration: "false"
    originator: "Webstore"
})
```